import request from "@/utils/request";

/**
 * 审核区域代理提现
 * @param {*} query
 * @returns
 */
export function auditAgentWithdrawal(query) {
  return request({
    url: "/ds/agentCon/auditAgentWithdrawal",
    method: "get",
    params: query,
  });
}
/**
 * 查询区域代理申请提现明细
 * @param {*} query
 * @returns
 */
export function agentRecordList(query) {
  return request({
    url: "/ds/agentRecord/list",
    method: "get",
    params: query,
  });
}
/**
 * 导出
 * @param {*} query
 * @returns
 */
export function exportAchievement(query) {
  return request({
    url: "/ds/agentRecord/export",
    method: "get",
    params: query,
  });
}

export function coreQuery(query) {
  return request({
    url: `/ds/agentCon/${query.id}`,
    method: "get",
  });
}

// /ds/reward/queryList
export function rewardQureyList(query) {
  return request({
    url: "/ds/reward/queryList",
    method: "get",
  });
}
